package com.twu.biblioteca;

/**
 * Created by theyes on 15/01/2014.
 */
public class Book extends LibraryItem {

    public String title;
    public String author;

    public Book(String t, String a, int q)
    {
        super(q);
        title = t;
        author = a;
    }

    @Override
    public String toString() {
        return "Book{" +
                "title='" + title + '\'' +
                ", author='" + author + '\'' +
                ", quantity=" + quantity +
                '}';
    }

}
